<html lang="en" xmlns:th="http://www.thymeleaf.org"
	th:fragment="menu(active)">
<head></head>
<body>
	<ul id="side-menu" class="nav side-menu">
		<li th:if="${session.login.login.role=='JWC'}"><a><i
				class="fa fa-university"></i> 教务管理 <span class="fa fa-chevron-down"></span></a>
			<ul class="nav child_menu">
				<li th:class="${active==1?'active':''}"><a
					th:href="@{/jwc/review-open-course}">审核开课信息</a></li>
				<li th:class="${active==2?'active':''}"><a
					th:href="@{/jwc/review-select-course}">审核选课信息</a></li>
				<li th:class="${active==3?'active':''}"><a
					th:href="@{/jwc/arrange-teaching-time}">安排授课时间</a></li>
				<li th:class="${active==4?'active':''}"><a
					th:href="@{/jwc/arrange-teaching-loc}">安排授课地点</a></li>
			</ul></li>

		<li th:if="${session.login.login.role=='TEACHER'}"><a><i
				class="fa fa-university"></i> 教师管理 <span class="fa fa-chevron-down"></span></a>
			<ul class="nav child_menu">
				<li th:class="${active==5?'active':''}"><a
					th:href="@{/teacher/submit-course-information}">提交课程</a></li>
				<li th:class="${active==6?'active':''}"><a
					th:href="@{/teacher/grade-input}">成绩录入</a></li>
				<li th:class="${active==7?'active':''}"><a
					th:href="@{/teacher/experiment-application}">申请实验课</a></li>
			</ul></li>

		<li th:if="${session.login.login.role=='STUDENT'}"><a><i
				class="fa fa-university"></i> 学生管理 <span class="fa fa-chevron-down"></span></a>
			<ul class="nav child_menu">
				<li th:class="${active==8?'active':''}"><a
					th:href="@{/stu/select-course}">选课申请</a></li>
				<li th:class="${active==9?'active':''}"><a
					th:href="@{/stu/query-course}">查询课表</a></li>
				<li th:class="${active==10?'active':''}"><a
					th:href="@{/stu/enquiry-grade}">查询成绩</a></li>
			</ul></li>

		<li th:if="${session.login.login.role=='JF'}"><a><i
				class="fa fa-university"></i> 机房管理 <span class="fa fa-chevron-down"></span></a>
			<ul class="nav child_menu">
				<li th:class="${active==11?'active':''}"><a
					th:href="@{/jf/information-management}">信息管理</a></li>
				<li th:class="${active==12?'active':''}"><a
					th:href="@{/jf/time-arrangement}">授课时间安排</a></li>
				<li th:class="${active==13?'active':''}"><a
					th:href="@{/jf/location-arrangement}">授课地点安排</a></li>
			</ul></li>

	</ul>
</body>
</html>